package com.xmy.study.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 每年季度
 * </p>
 *
 * @author hpiggy
 * @since 2023-09-08
 */
@TableName("edu_quarter")
@ApiModel(value = "Quarter对象", description = "每年季度")
public class Quarter implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    private String name;

    private String aliasName;

    @ApiModelProperty("季度的num值")
    private Integer num;

    @ApiModelProperty("开始时间")
    private LocalDate startDate;

    @ApiModelProperty("结束时间")
    private LocalDate endDate;

    @ApiModelProperty("第二次课开始时间")
    private LocalDate twoCourseDate;

    @ApiModelProperty("年份")
    private Integer yearPart;

    private Integer deleted;

    private Integer sort;

    private LocalDateTime createdAt;

    private LocalDateTime updatedAt;

    private LocalDateTime deletedAt;

    private Long createdId;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public String getAliasName() {
        return aliasName;
    }

    public void setAliasName(String aliasName) {
        this.aliasName = aliasName;
    }
    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }
    public LocalDate getStartDate() {
        return startDate;
    }

    public void setStartDate(LocalDate startDate) {
        this.startDate = startDate;
    }
    public LocalDate getEndDate() {
        return endDate;
    }

    public void setEndDate(LocalDate endDate) {
        this.endDate = endDate;
    }
    public LocalDate getTwoCourseDate() {
        return twoCourseDate;
    }

    public void setTwoCourseDate(LocalDate twoCourseDate) {
        this.twoCourseDate = twoCourseDate;
    }
    public Integer getYearPart() {
        return yearPart;
    }

    public void setYearPart(Integer yearPart) {
        this.yearPart = yearPart;
    }
    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }
    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }
    public LocalDateTime getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(LocalDateTime createdAt) {
        this.createdAt = createdAt;
    }
    public LocalDateTime getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(LocalDateTime updatedAt) {
        this.updatedAt = updatedAt;
    }
    public LocalDateTime getDeletedAt() {
        return deletedAt;
    }

    public void setDeletedAt(LocalDateTime deletedAt) {
        this.deletedAt = deletedAt;
    }
    public Long getCreatedId() {
        return createdId;
    }

    public void setCreatedId(Long createdId) {
        this.createdId = createdId;
    }

    @Override
    public String toString() {
        return "Quarter{" +
            "id=" + id +
            ", name=" + name +
            ", aliasName=" + aliasName +
            ", num=" + num +
            ", startDate=" + startDate +
            ", endDate=" + endDate +
            ", twoCourseDate=" + twoCourseDate +
            ", yearPart=" + yearPart +
            ", deleted=" + deleted +
            ", sort=" + sort +
            ", createdAt=" + createdAt +
            ", updatedAt=" + updatedAt +
            ", deletedAt=" + deletedAt +
            ", createdId=" + createdId +
        "}";
    }
}
